package com.jewaton.auth.commons.util;




import java.util.List;


@SuppressWarnings("all")
public class PagedQueryResult {
	
	private List results;

	private boolean more;
	
	private int maxPage;
	
	/**上一页**/
	private int prePage;
	
	/**下一页**/
	private int nextPage;
	
	/**当前页数**/
	private int currentPage;
	
	/** 总记录数 */
	private int total;

	public PagedQueryResult(List results, boolean more) {
		this.results = results;
		this.more = more;
	}

	public PagedQueryResult() {
		super();
	}

	public void setResults(List results) {
		this.results = results;
	}

	public void setMore(boolean more) {
		this.more = more;
	}

	public boolean isMore() {
		return more;
	}

	public List getResults() {
		return results;
	}

	public int getMaxPage() {
		return maxPage;
	}

	public void setMaxPage(int maxPage) {
		this.maxPage = maxPage;
	}

	public int getPrePage() {
		return prePage;
	}

	public void setPrePage(int prePage) {
		this.prePage = prePage;
	}

	public int getNextPage() {
		return nextPage;
	}

	public void setNextPage(int nextPage) {
		this.nextPage = nextPage;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}
	
}
